//
//  CSGXCommodityModel.m
//  CarSalesMS_GCX
//
//  Created by Ssky on 2016/10/26.
//  Copyright © 2016年 Tony. All rights reserved.
//

#import "CSGXCommodityModel.h"

@implementation CSGXCommodityModel

+ (NSArray<CSGXCommodityModel *> *)arrWithArr:(NSArray *)arr {
    NSMutableArray * mArr = [NSMutableArray array];
    
    for (NSDictionary *dict in arr) {
        CSGXCommodityModel * model = [[self alloc] init];
        [model setValuesForKeysWithDictionary:dict];
        [mArr addObject:model];
    }
    
    return mArr.copy;
}

@end
